package com.bytedance.improvingroad.application

import android.annotation.SuppressLint
import android.app.Application
import android.content.Context

/**
 * Created by chenxiong
 * date 11/12/21
 */
class AppConfig:Application() {

    companion object{
        @SuppressLint("StaticFieldLeak")
        private lateinit var context: Context
        fun getContext() = context
    }

    override fun onCreate() {
        super.onCreate()
        context = applicationContext
    }

}